<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        img {
            position: fixed;
            left: 0;
            bottom: 0;
        }
    </style>
</head>
<body>
<img src="./JS案例需要的素材/luya_1.png" alt="">
<script>
//获取广告
var htmlImageElement = document.querySelector("img");
setInterval(function () {
    htmlImageElement.style.display="none"
},5000)
</script>
</body>

</html>
